3.4 \(\int \sec ^4(a+b x) \, dx\)

Optimal. Leaf size=26 \[ \frac {\tan ^3(a+b x)}{3 b}+\frac {\tan (a+b x)}{b} \]

[Out]

tan(b*x+a)/b+1/3*tan(b*x+a)^3/b

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {3767} \[ \frac {\tan ^3(a+b x)}{3 b}+\frac {\tan (a+b x)}{b} \]

Antiderivative was successfully verified.

[In]

Int[Sec[a + b*x]^4,x]

[Out]

Tan[a + b*x]/b + Tan[a + b*x]^3/(3*b)

Rule 3767

Int[csc[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[ExpandIntegrand[(1 + x^2)^(n/2 - 1), x]
, x], x, Cot[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[n/2, 0]

Rubi steps

\begin {align*} \int \sec ^4(a+b x) \, dx &=-\frac {\operatorname {Subst}\left (\int \left (1+x^2\right ) \, dx,x,-\tan (a+b x)\right )}{b}\\ &=\frac {\tan (a+b x)}{b}+\frac {\tan ^3(a+b x)}{3 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.05, size = 23, normalized size = 0.88 \[ \frac {\frac {1}{3} \tan ^3(a+b x)+\tan (a+b x)}{b} \]

Antiderivative was successfully verified.

[In]

Integrate[Sec[a + b*x]^4,x]

[Out]

(Tan[a + b*x] + Tan[a + b*x]^3/3)/b

________________________________________________________________________________________

fricas [A]  time = 0.77, size = 31, normalized size = 1.19 \[ \frac {{\left (2 \, \cos \left (b x + a\right )^{2} + 1\right )} \sin \left (b x + a\right )}{3 \, b \cos \left (b x + a\right )^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^4,x, algorithm="fricas")

[Out]

1/3*(2*cos(b*x + a)^2 + 1)*sin(b*x + a)/(b*cos(b*x + a)^3)

________________________________________________________________________________________

giac [A]  time = 1.39, size = 22, normalized size = 0.85 \[ \frac {\tan \left (b x + a\right )^{3} + 3 \, \tan \left (b x + a\right )}{3 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^4,x, algorithm="giac")

[Out]

1/3*(tan(b*x + a)^3 + 3*tan(b*x + a))/b

________________________________________________________________________________________

maple [A]  time = 0.52, size = 24, normalized size = 0.92 \[ -\frac {\left (-\frac {2}{3}-\frac {\left (\sec ^{2}\left (b x +a \right )\right )}{3}\right ) \tan \left (b x +a \right )}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(b*x+a)^4,x)

[Out]

-1/b*(-2/3-1/3*sec(b*x+a)^2)*tan(b*x+a)

________________________________________________________________________________________

maxima [A]  time = 0.33, size = 22, normalized size = 0.85 \[ \frac {\tan \left (b x + a\right )^{3} + 3 \, \tan \left (b x + a\right )}{3 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^4,x, algorithm="maxima")

[Out]

1/3*(tan(b*x + a)^3 + 3*tan(b*x + a))/b

________________________________________________________________________________________

mupad [B]  time = 0.08, size = 21, normalized size = 0.81 \[ \frac {\mathrm {tan}\left (a+b\,x\right )\,\left ({\mathrm {tan}\left (a+b\,x\right )}^2+3\right )}{3\,b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/cos(a + b*x)^4,x)

[Out]

(tan(a + b*x)*(tan(a + b*x)^2 + 3))/(3*b)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sec ^{4}{\left (a + b x \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)**4,x)

[Out]

Integral(sec(a + b*x)**4, x)

________________________________________________________________________________________